/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package tests;

/**
 *
 * @author luis
 */
public class email {

    /**
     *
     * @param args
     */
    public static void main(String[] args) {
        String mail;
        mail = Scan.Console.nextLine();
        if(mail.contains("@")){
            System.out.println("Contiene la arroba en la posicion: " + mail.indexOf("@"));
        }
        else{
            System.out.println("No contiene arroba");
        }

    }

}
